From c61788c33886f8708bf30337b5e460678037cae9 Mon Sep 17 00:00:00 2001 From: Kouya Shimura Date: Mon, 12 Nov 2012 17:03:20 +0000 Subject: [PATCH] libxl: fix reboot failure of migrated domain The same problem was once fixed by c/s 23878:59c7213b5949 but c/s 25344:0f3b1e13d6af broke it. Signed-off-by: Kouya Shimura Acked-by: Ian Campbell Committed-by: Ian Campbell --- tools/libxl/xl_cmdimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index a43b3712f6..95ce8255bb 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -1927,7 +1927,7 @@ start: * On subsequent reboot etc we should create the domain, not * restore/migrate-receive it again. */ - restore_file = NULL; + restoring = 0; }else{ ret = libxl_domain_create_new(ctx, &d_config, &domid, 0, autoconnect_console_how); -- 2.30.2